package cn.edu.xust.dao;

import cn.edu.xust.Ro.MulHotelWtRo;
import cn.edu.xust.Ro.PieData;
import cn.edu.xust.entity.WtdataEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author ufo
 * @email 2575829997@qq.com
 * @date 2024-03-30 17:15:52
 */
@Mapper
public interface WtdataDao extends BaseMapper<WtdataEntity> {

    List<MulHotelWtRo> getByHType(@Param("hotelid") String hotelid, @Param("type") String type, @Param("start") String start, @Param("end") String end);

    List<PieData> getByDay(@Param("name") String name, @Param("start") String start, @Param("end") String end);

}
